package org.unikn.vm;

import java.beans.MethodDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;

public class VMTest {

	private Class<?> obj;
	public VMTest(String name) {
		try {
			obj = Class.forName(name);
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}

	public void intro() {
		for (Field f : obj.getFields()) {
			System.out.println("Field " + f.getName());
		}
		for (Method m : obj.getMethods()) {
			System.out.println("Method " + m.getName());
			
		}

	}
}
